#include "uppg10.h"


uppg10::uppg10()
{
}


uppg10::~uppg10()
{
}

void uppg10::run(){
	float tal[25] = { 1.5, 43545.4523, 13525.576, 36.57, 453, 2456346.246, 4634.056, 2464369.36, 135245, 2464 / 145,
		34656, -45348 / -1518, 0.456, -4534, -4534, 0.4656, 123453, 356450, 2345.5476, 23545.1,
		345.457, -453453, 356, 457658768.235, 3564576 };
	for (int i = 0; i < 25; i++){
		f.push_back(tal[i]);
	}

	for (int i = 0; i < f.size(); i++){
		cout << f[i] << endl;
	}

	cout << endl;

	for (int i = 0; i < f.size(); i++){
		f[i] = f[i] * f[i];
	}

	for (int i = 0; i < f.size(); i++){
		cout << f[i] << endl;
	}
}
